<script type="text/javascript">
    $(function () {
        $("#xsd_date_grid").datagrid({
            url: $.webPath() + "/xsgl/xsdgl/xsdSearchDateList?xsgsId=" + $("#xsgsId").val() + "&sbgsId=" + $("#sbgsId").val() + "&khId=" + $("#khId").val(),
            checkbox: false,
            fitColumns: true,
            singleSelect: true,
            pageNumber: 1,
            fit: true,
            pagination: false,
            checkOnSelect: false,
            selectOnCheck: false,
            rownumbers: true,
            columns: [
                [
                    {field: 'XHTBM', title: '来源系统合同号', width: 100, align: 'center',
                        formatter: function (v) {
                            return '<b style="font-weight:bold;font-size:20px;color: red">' + v + '</b>'
                        }
                    },
                    {field: 'HTBM', title: '合同号', width: 100, align: 'center',
                        formatter: function (v) {
                            return '<b style="font-weight:bold;font-size:20px;">' + v + '</b>'
                        }
                    },
                    {field: 'QDRQ', title: '签订日期', width: 100, align: 'center',
                        formatter: function (v) {
                            return '<b style="font-weight:bold;font-size:20px;">' + v + '</b>'
                        }
                    }
                ]
            ],
            onLoadSuccess: function () {
                $(".datagrid-htable .datagrid-cell").css('text-align', 'center');
            }
        });

    })


</script>
<input type="hidden" id="xsgsId" value="${(xsgsId)!}"/>
<input type="hidden" id="sbgsId" value="${(sbgsId)!}"/>
<input type="hidden" id="khId" value="${(khId)!}"/>
<div id="layout_xsd_date" class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center'">
        <table id="xsd_date_grid">
        </table>
    </div>
</div>